import sys
import os

sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
from image_processing_modules.image_feature import (
    get_image_embedding,
    get_text_embedding,
)


def main():
    print("Testing image feature module")
    image_embedding = get_image_embedding("D:/Temp/Pic/test/test_01.png")
    print(f"Image embedding: {image_embedding}")
    text_embedding = get_text_embedding("天空")
    print(f"Text embedding: {text_embedding}")


if __name__ == "__main__":
    main()
